package com.itheima.service;

import com.itheima.domain.store.Question;

import java.util.List;

//Question业务层
public interface QuestionService {
    //查找所有
    List<Question> findAll(String pageNum, String pageSize);
    //新增
    String save(Question question,boolean flag);
    //删除
    boolean deleteByIds(String id);
    //根据id查找对象并返回对象
    Question findById(String id);
    //更新
    void update(Question question,boolean flag);
}
